<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>系统登录</title>
<link href="${path }/css/style.css" rel="stylesheet" 
	type="text/css" />
<script type="text/javascript" src="${path }/js/checkForm.js" 
	charset="gb2312"></script>
<meta http-equiv="Content-Type" 
	content="text/html;charset=gb2312"/>
</head>
<body>
<center>
<br><br><br><br><br>
<table id="loginTable1">
<tr>
<td id="loginMain">
    <table id="loginTable2">
    <tr>
      	<td class="loginTitle"><h3>校园宿舍管理系统</h3></td>
    </tr>
    <tr>
        <td id="loginContent">
        <form name="form1" action="login.do" 
        	method="post" onSubmit="return checkLogin()">
        <table class="fullTable">
        <tr>
          	<td class="inputLeft">身份：</td>
          	<td>
          	<select name="type">
	            <option value="">请选择</option>
	            <option value="admin">系统管理员</option>
	            <option value="teacher">楼宇管理员</option>
	            <option value="student">学生</option>
          	</select>
          	</td>
        </tr>
        <tr>
            <td class="inputLeft">用户名：</td>
            <td>
            <input name="username" class="input" />
            </td>
        </tr>
        <tr>
           	<td class="inputLeft">密码：</td>
           	<td>
           	<input type="password" name="password" class="input" />
           	</td>
        </tr>
        <tr>
            <td height="30" colspan="2" align="center">
            <input type="submit" name="button"  value="登录">
            </td>
        </tr>
        </table>
        </form>        
        </td>
    </tr>
    </table>
</td>
</tr>   
</table>
</center>
</body>
</html>